<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="ie=edge"/>
    <title>{{$title}}</title>
    <meta name="keywords" content="{{$keywords}}" />
    <meta name="description" content="{{$description}}" />
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <link rel="stylesheet" href="{{ URL::asset('sass/wap/swiper.min.css')}}"/>
    <link rel="stylesheet" href="{{ URL::asset('sass/wap/style.css')}}"/>
    <link rel="shortcut icon" type="image/x-icon" href="{{ URL::asset('img/m_logo.png') }}">
</head>
<body>
<div id="vm">
    <div class="container fc" id="header">
        <div class="logo" style="margin:0 auto;width:2.5rem"><img src="{{ URL::asset('img/wap/logo.jpg')}}" alt=""/></div>
    </div>
    <div class="banner">
        <div class="swiper-container">
            <div class="swiper-wrapper">
                @if(!empty($loading_ad) && isset($loading_ad))
                    @foreach($loading_ad as $l)
                        <div class="swiper-slide"> <img src="{{URL::asset('img/'.$l['pictures'])}}" width="100%" alt=""/></div>
                    @endforeach
                @endif
            </div>
        </div>

    </div>
    <ul class="m-nav container">
        <li><a href="/xrdt/t0"><img src="{{URL::asset('img/wap/f1.jpg')}}" alt=""/>
                <h2>寻人大厅</h2></a></li>
        <li><a href="/news/n0"><img src="{{URL::asset('img/wap/f2.jpg')}}" alt=""/>
                <h2>综合资讯</h2></a></li>
        <li><a href="/request.html"><img src="{{URL::asset('img/wap/f3.jpg')}}" alt=""/>
                <h2>真情留言</h2></a></li>
        <li><a href="/addservice.html"><img src="{{URL::asset('img/wap/f4.jpg')}}" alt=""/>
                <h2>增至服务</h2></a></li>
    </ul>
    <div class="li" style="padding:0"></div>
    <div class="li container">
       @if(!empty($addmsg))
           {!! $addmsg->service_text !!}
           @endif
    </div>

    <ul id="footer2">
        <li><a href="/"><img src="{{URL::asset('img/wap/n1.jpg')}}" alt=""/>首页</a></li>
        <li><a href="/xrdt/t0"><img src="{{URL::asset('img/wap/n2.jpg')}}" alt=""/>寻人大厅</a></li>
        <li><a class="add" href="/fbxr.html">
                <div><span class="j">+</span><span>寻人登记</span></div></a></li>
        <li><a href="/news/n0"><img src="{{URL::asset('img/wap/n3.jpg')}}" alt=""/>综合资讯</a></li>
        <li><a href="javascript:;" onclick="service_msg()"><img src="{{URL::asset('img/wap/n4.jpg')}}" alt=""/>联系我们</a></li>
    </ul>
</div>
<script src="{{URL::asset('js/wap/rem.js')}}"></script>
<script src="{{URL::asset('js/wap/swiper.min.js')}}"></script>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="{{URL::asset('js/wap/common.js')}}"></script><script>
    var swiper = new Swiper('.swiper-container', {
        spaceBetween: 30,
        centeredSlides: true,
        autoplay: {
            delay: 2500,
            disableOnInteraction: false,
        },
        pagination: {
            el: '.swiper-pagination',
            clickable: true,
        },
        navigation: {
            nextEl: '.swiper-button-next',
            prevEl: '.swiper-button-prev',
        },
    });
</script>

<script>
    function service_msg(){
        alert("请您拨打我们客服联系电话: 400-991-6578 或者微信资讯")
    }
</script>
</body>
</html>